﻿<localView:UserControlBase   x:Class="VocabManager.View.DeckViewEdit"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:local="clr-namespace:VocabManager"
                     xmlns:localView="clr-namespace:VocabManager.View"
             
    mc:Ignorable="d"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    d:DesignHeight="800" d:DesignWidth="480">

    <Grid x:Name="LayoutRoot">
        <Grid.RowDefinitions>
            <RowDefinition Height="auto"></RowDefinition>
            <RowDefinition></RowDefinition>
            <!--<RowDefinition Height="auto"></RowDefinition>-->

        </Grid.RowDefinitions>
        <Grid>
            <Grid.RowDefinitions>
                <RowDefinition Height="auto"></RowDefinition>
                <RowDefinition></RowDefinition>

            </Grid.RowDefinitions>
            <ContentControl Style="{StaticResource TitleStyle}" Content="Name"  ></ContentControl>

            <!--<TextBlock Text="Name" Opacity=".8" FontSize="20"></TextBlock>-->
            <TextBox AcceptsReturn="True" Text="{Binding Path= Name,Mode=TwoWay}" Grid.Row="1" ></TextBox>
        </Grid>
        <Grid Grid.Row="1">
            <Grid.RowDefinitions>
                <RowDefinition Height="auto"></RowDefinition>
                <RowDefinition></RowDefinition>

            </Grid.RowDefinitions>
            <ContentControl Style="{StaticResource TitleStyle}" Content="Description"  ></ContentControl>


            <TextBox AcceptsReturn="True" Text="{Binding Path=Description, Mode=TwoWay}" Grid.Row="1" Padding="0" Margin="0"></TextBox>
        </Grid>
        <!--<StackPanel Grid.Row="2" Orientation="Horizontal">
            <Button  Content="Save" Command="{Binding SaveCommand}"></Button>
            <Button Content="Cancel" Command="{Binding CancelEditCommand}"></Button>
        </StackPanel>-->
    </Grid>
</localView:UserControlBase   >
